Fix dobule border rendering
authorMatthias Clasen <mclasen@redhat.com>
Sat, 9 Jan 2016 19:36:05 +0000 (14:36 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 9 Jan 2016 19:37:04 +0000 (14:37 -0500)
This is the same fix that was applied for ridge and groove
style in 9f27ee7f5abf49a20ac95d57b306ecd4294b49c6.

gtk/gtkrenderborder.c

index 213d65ef811d94a93affc21f7d1f2635239e72be..22452d15cb377778b0e3a8eab6310e622c5b9e87 100644 (file)
@@ -630,7 +630,7 @@ render_border (cairo_t       *cr,
                 else
                   dont_draw |= (1 << j);
                 
-                other_border[i] = border_width[i] / 3;
+                other_border[j] = border_width[j] / 3;
               }
             
             render_frame_fill (cr, border_box, other_border, colors, dont_draw);